/*
 *email: chen983@sina.com
 */
#ifndef _CONNECTIONG_H__
#define _CONNECTIONG_H__
#include <string>
using namespace std;

namespace Oracle{
class Command;

class ConnectionG
{
	friend class Command;
public:
	ConnectionG();
	ConnectionG(const string &connectionString);
	void construct();
	~ConnectionG();
	
	void open();
	void close();
	
public:
	string connectionString;
	
private:
	bool _open;
	int *_flag;
};

};//end of namespace Oracle
#endif
